import Vue from 'vue';
import App from './App';
import store from './store';
import uView from "uview-ui";
// import share from './utils/wxShare.js';
// Vue.mixin(share);
Vue.use(uView);
Vue.config.productionTip = false;

App.mpType = 'app';

const app = new Vue({
	...App,
	store,
});
app.$mount();


//底部taber
import foot from '@/pages/foot/foot.vue'
Vue.component('foot', foot)

//用户端
//首页
import home from '@/pages/userSide/userSide.vue'
Vue.component('home', home)
//问答
import questions from '@/pages/questions/questions.vue'
Vue.component('questions', questions)
// 心里测试题
import test from '@/pages/userSide/test.vue'
Vue.component('test', test)
//公益救助
import publics from '@/pages/public/public.vue'
Vue.component('publics', publics)
//我的
import user1 from '@/pages/User/user.vue'
Vue.component('user1', user1)



//咨询师端
//工作台
import workbench from '@/pages/workbench/workbench.vue'
Vue.component('workbench', workbench)
//咨询订单
import orderForm from '@/pages/orderForm/orderForm.vue'
Vue.component('orderForm', orderForm)
//个人中心
import user from '@/pages/user2/user2.vue'
Vue.component('user', user)

//商城
import stores from '@/pages/store/store.vue'
Vue.component('stores', stores)
//购物车
import shoppingmall from '@/pages/store/shoppingcar'
Vue.component('shoppingmall', shoppingmall)

//积分商城
import pointsMall from '@/pages/store/pointsMall'
Vue.component('pointsMall', pointsMall)


//商品分类
import classify from '@/pages/store/classify'
Vue.component('classify', classify)


import shoppuser from '@/pages/store/user.vue'
Vue.component('shoppuser', shoppuser)
